<!-- START OF LOGIN POP UP -->   
<div class="contentMain">
	<div class="grayBox">
		<div class="grayBoxMain">
			<div class="facebookLogin">
				<h2>Login with Facebook</h2>
				<?echo $facebook->login(array(
					'perms' => 'email'
					), 
					'Login with Facebook');?>
			</div>
			or you can also
			<div class="loginBox">
				<h2>Login with Your Account</h2>
				<?
					echo $session->flash('auth');
					echo('<br>');
					echo $this->Form->create('User', array('action' => 'login'));
				?>
				<ul class="quList">
					<li>
					<?
						echo('<div style="width:150px; float:left; font-weight:bold">Email </div>');
						echo $this->Form->input('username', array('label'=>false));
					?>
					</li>
					
					<li>
					<?
						echo('<div style="width:150px; float:left; font-weight:bold">Password </div>');
						echo $this->Form->input('password', array('type'=>'password','label'=>false));
					?>
					</li>
				</ul>
				<?=$this->Html->link('Forget Password', array('controller'=>'users', 'action'=>'forget_password'))?>
				<br><br>
				<div class="btnYellow01">
					<?
						echo $this->Form->end(array(
							'label'=>'Login',
							'class'=>'btn cursor_pointer',
							'div'=>false
							));
					?>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- END OF LOGIN POP UP -->